package org.luxor.commons.sms.config.properies;

/**
 * Qcloud-Client 配置
 *
 * @author Mr.yan @date 2020/2/8
 */
public class QcloudProperties {

    private final Boolean DEFAULT_ENABLED = Boolean.TRUE;

    private final String DEFAULT_ENDPOINT = "sms.tencentcloudapi.com";
    private final String DEFAULT_SECRET_ID = "none";
    private final String DEFAULT_SECRET_KEY = "none";
    private final String DEFAULT_SMS_SDK_APP_ID = "none";
    private final String DEFAULT_SIGN = "none";
    /**
     * 是否启用
     */
    private boolean enabled;

    /**
     * 腾讯云EndPoint
     */
    private String endPoint;

    /**
     * 腾讯云SdkAppId（必填项）
     */
    private String appId;

    /**
     * 腾讯云ACCESS_KEY_ID（必填项）
     */
    private String secretId;

    /**
     * 腾讯云ACCESS_KEY_SECRET（必填项）
     */
    private String secretKey;

    /**
     * 短信签名（必填项）
     */
    private String sign;

    public QcloudProperties() {
        super();
        this.enabled = DEFAULT_ENABLED;
        this.endPoint = DEFAULT_ENDPOINT;
        this.appId = DEFAULT_SMS_SDK_APP_ID;
        this.secretId = DEFAULT_SECRET_ID;
        this.secretKey = DEFAULT_SECRET_KEY;
        this.sign = DEFAULT_SIGN;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getEndPoint() {
        return endPoint;
    }

    public void setEndPoint(String endPoint) {
        this.endPoint = endPoint;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSecretId() {
        return secretId;
    }

    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}
